package com.vnp.cooking.adapter;

import com.vnp.cooking.fragment.FragmentCoverGianbep1;
import com.vnp.cooking.fragment.FragmentCoverGianbep2;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

public class GianbepCoverAdapter extends FragmentPagerAdapter{

	public GianbepCoverAdapter(FragmentManager fm) {
		super(fm);
	}

	@Override
	public Fragment getItem(int position) {
		Fragment frg  = null;
		switch (position) {
		case 0:
			frg = new FragmentCoverGianbep1();
			break;

		case 1:
			frg = new FragmentCoverGianbep2();
			
			break;
		}
		return null;
	}

	@Override
	public int getCount() {
		return 2;
	}

}
